package cn.tedu.boyou.acticle.util;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 存储MySQL查询时的范围值，基础的为最大值和最小值
 */
@Getter@Setter
@NoArgsConstructor
public class BaseRange {
    private Integer min;
    private Integer max;

    public BaseRange(int min, int max){
        this.min = min;
        this.max = max;
    }
}
